Skip to content

Fix CPAN compiler and tooling compatibility suite - #957

Merged
fglock merged 1 commit into
masterfrom
fix/jcpan-compiler-tooling-batch
Aug 15, 2026
Merged

Fix CPAN compiler and tooling compatibility suite#957
fglock merged 1 commit into
masterfrom
fix/jcpan-compiler-tooling-batch

Conversation

@fglock

@fglock fglock commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • preserve empty qr// construction identity through both compiler backends and keep temporary map/grep aliases compatible with Perl weak-reference semantics
  • add caller-aware SUPER::can and PadWalker::var_name, complete the Unicode normalization/charnames paths needed by CPAN dependencies, and align DBI/POSIX behavior
  • replace Math::Factor::XS with a Java implementation and add narrowly scoped CPAN tooling patches for legacy Char::Windows1258 and MooseX BetterAnonClassNames releases
  • document the investigation, decisions, completed phases, and final target matrix

Validation

  • make — passes before and after rebasing onto current origin/master
  • ./jcpan -t Data::Collector — 3 files / 12 tests, PASS
  • ./jcpan -t Pod::Query — 10 files / 246 tests, PASS
  • ./jcpan -t Char::Windows1258 — 210 files / 5,703 tests, PASS (also 5,703/5,703 on system Perl)
  • ./jcpan -t Map::Metro::Plugin::Map::Oslo — 3 files / 4 tests, PASS
  • ./jcpan -t DBIx::Dictionary — 7 files / 30 tests, PASS
  • ./jcpan -t Date::Holidays::Abstract — 9 files / 3 tests, PASS
  • ./jcpan -t Music::Note::Role::Operators — 2 files / 6 tests, PASS
  • upstream Math::Factor::XS suite — 4 files / 69 tests, PASS
  • new unit tests validated first with system Perl and then with both PerlOnJava backends

Generated with Codex

Fix shared regex, lexical inspection, weak-reference, Unicode, DBI, and
POSIX behavior exposed by a broad CPAN compatibility suite. Add a Java
Math::Factor::XS implementation and narrowly scoped patches for legacy
Char::Windows1258 and MooseX tooling.

Document the completed compatibility work and cover the runtime changes
with system-Perl-validated unit tests for both compiler backends.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock force-pushed the fix/jcpan-compiler-tooling-batch branch from 5a37f7e to ac4b4a4 Compare August 15, 2026 06:41
@fglock
fglock merged commit d22f54d into master Aug 15, 2026
2 checks passed
@fglock
fglock deleted the fix/jcpan-compiler-tooling-batch branch August 15, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant